package chenji.dailykit.kit;

import java.util.logging.Level;

import chenji.dailykit.Main;
/**
 * @author ChenJi Copyright (c) 2016 ChenJi. All rights reserved.
 */
public class KitCannotLoadException extends Exception {
	private String Message;
	private static final long serialVersionUID = -849600046883349604L;
	public KitCannotLoadException(String Message) {

	}

	public void printStackTrace() {
		Main.getLog().log(Level.WARNING, "-----------------DailyKit 异常报告-----------------");
		Main.getLog().log(Level.WARNING, "非常抱歉，插件工作发生意外了= =，如果您找不到解决的办法，");
		Main.getLog().log(Level.WARNING, "请完整截图这个报告并去论坛PM1582952890或在插件贴回帖询问");
		Main.getLog().log(Level.WARNING, "异常类型：KitCannotLoadException");
		Main.getLog().log(Level.WARNING, "异常叙述：" + Message);
		Main.getLog().log(Level.WARNING, "以下是发出异常的位置：");
		super.printStackTrace();
		Main.getLog().log(Level.WARNING, "---------------------------------------------------");
	}

}
